//
//  StudentListViewController.h
//  PCSchool
//
//  Created by Arindam Ghosh on 7/12/13.
//  Copyright (c) 2013 Jayanta. All rights reserved.
//

#import "BaselViewController.h"

#import <CoreBluetooth/CoreBluetooth.h>
@interface StudentListViewController : BaselViewController<CBCentralManagerDelegate,CBPeripheralManagerDelegate,CBPeripheralDelegate>
{

    /**
    Bluetooth Related veriable declatation
     */
    CBPeripheralManager *manager;
    CBCentralManager *centmanager;
    
    CBMutableCharacteristic *characteristic;
    CBMutableCharacteristic *characteristic1;
    CBMutableCharacteristic *characteristic2;
    CBMutableService *servicea;
    NSData *mainData;
    NSString *range;
    
    CBPeripheral *aCperipheral;
    
    //__________________________//
    
}


@property (retain, nonatomic) IBOutlet UIImageView *baseImageView;
@property (retain, nonatomic) IBOutlet UIImageView *rightPanelImageView;
@property (retain, nonatomic) IBOutlet UIView *leftPanelView;
@property (retain, nonatomic) IBOutlet UIImageView *leftPanelImageView;
@property (retain, nonatomic) IBOutlet UITableView *leftPanelTableView;
@property (retain, nonatomic) IBOutlet UIImageView *searchBarImgView;
@property (retain, nonatomic) IBOutlet UITextField *searchBarTextField;
@property (retain, nonatomic) IBOutlet UIButton *proximityButton;
@property (retain, nonatomic) IBOutlet UIImageView *searchBarLeftimageView;
@property (retain, nonatomic) IBOutlet UITableView *rightPanelTableView;
@property (retain, nonatomic) IBOutlet UIImageView *rightPanelheaderImageView;
@property (retain, nonatomic) IBOutlet UIImageView *rightPanelStudentImageView;
@property (retain, nonatomic) IBOutlet UIImageView *rightPanelGraphView;

@property (retain, nonatomic) NSMutableDictionary *studentDetailsDictionary;
@property (retain,nonatomic) NSMutableArray *studentDetailsArray4Leftpart;
@property (retain, nonatomic) NSMutableArray *studentArray;

- (IBAction)proximityButtonAction:(id)sender;

- (void)willEnterBackgroud;
- (void)willBacktoForeground;

@end
